﻿//   计算两个数据的最大值
#include <iostream>
using namespace std;

inline int max(int a, int b)
{
	return a > b ? a : b;
}

inline double max(double a, double b)
{
	return a > b ? a : b;
}

inline string max(string a, string b)
{
	return (a.length() >= b.length()) ? a : b;
}

int main(void)
{
	int a, b; // DONE c no use
	cout << "Input two data:";
	cin >> a >> b;
	cout << "The max is:" << max(a, b) << endl;

	cin.ignore();
	return 0;
}   /*end main*/
